package com.xiaoq.sites.entity;

import java.io.Serializable;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;

@Entity(value = "sites_hot_search", noClassnameStored = true)
public class SitesHotSearchEntity extends MongoEntity implements Serializable {
	
	@JsonIgnore
	@Transient
	private static final long serialVersionUID = -1791789895840684919L;
	
	private String ip; //ip
	private String userId; // 用户Id
	private String searchTxt; // 搜索关键字
	private String matchTxt; // 景区简称
	private String zoneCity; // 区划市
	private Integer type; // 搜索类型（0：用户搜索，1：推荐搜索）
	private Integer searchType; // 见ConstantUtil
	private String shopId; // 店

	private String count;  //分组排序(查询回显)

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getSearchTxt() {
		return searchTxt;
	}

	public void setSearchTxt(String searchTxt) {
		this.searchTxt = searchTxt;
	}

	public String getMatchTxt() {
		return matchTxt;
	}

	public void setMatchTxt(String matchTxt) {
		this.matchTxt = matchTxt;
	}

	public String getZoneCity() {
		return zoneCity;
	}

	public void setZoneCity(String zoneCity) {
		this.zoneCity = zoneCity;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSearchType() {
		return searchType;
	}

	public void setSearchType(Integer searchType) {
		this.searchType = searchType;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

}
